Jigoshop\Service\TaxService B

Total Complexity 82
Dependencies 12
Dependents 1
Total lines 575
Lines of code 366
Logical lines of code 225
Comment lines 113
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
register()
B
34 17 92
getDefinition()
A
45 13 41
get()
S
50 7 28
formatRule()
S
53 6 22
save()
S
49 5 32
getLabel()
S
58 6 14
getRate()
S
57 5 16
getRules()
S
52 4 25
_addPostcodes()
S
54 3 21
getDefinitions()
S
62 3 11
_removeAllPostcodesExcept()
S
58 2 15
_removeAllStatesExcept()
S
58 2 15
removeAllExcept()
S
62 2 11
__construct()
S
74 1 5
getClasses()
S
82 1 3
calculate()
S
78 1 3
calculateForShipping()
S
78 1 3
getForOrder()
S
78 1 3
calculateForOrder()
S
79 1 3
getForShipping()
S
78 1 3